package com.javaxiaobear.module.system.domain;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 角色和菜单关联 sys_role_menu
 *
 * @author javaxiaobear
 */
@Table(value = "sys_role_menu")
@Data
public class SysRoleMenu {
  /** 角色ID */
  @Id
  @Column(value = "role_id")
  private Long roleId;

  /** 菜单ID */
  @Id
  @Column(value = "menu_id")
  private Long menuId;
}
